package com.hualan.service.service.service;

import com.hualan.mapper.ShaixuanMapper;
import com.hualan.pojo.Consultants;
import com.hualan.pojo.Shanchang;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ShaixuanServiceImpl implements ShaixuanService{
    @Autowired
    private ShaixuanMapper shaixuanMapper;
    public List<Shanchang> listAll() {
        return shaixuanMapper.listAll();
    }

    public List<Consultants> shaiXuan(String diyu, Integer zixun, String level, List<Integer> list) {
        System.out.println("list:"+list);
        return shaixuanMapper.shaiXuan(diyu,zixun,level,list);
    }
}
